package com.java.jvm.demo.chapter04;

/**
 * @author wangning
 * @create 2021-12-23 21:22
 */
public class MyClassLoaderTest {
	public static void main(String[] args) {
		MyClassLoader myClassLoader = new MyClassLoader("");
		try {
			Class clazz = myClassLoader.loadClass("");
			System.out.println("加载此类的类加载器是：" + clazz.getClassLoader().getClass().getName());

		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		}
	}
}
